<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core " %>
<%@include file="./../../../taglibs.jsp"%>
<html>
<head>
    <%@include file="./../../../header.jsp"%>
    <style type="text/css">
		html{
			height: 100%;
		}
		body{
			height: 100%;
			background: url(/app/static/image/login_bg.jpg) ;
			background-size: cover;
		}

	</style>
</head>
	<body>
		<div class="floatBox widthBox" >
			<h1 class="title">找回密码</h1>
			<form class="layui-form" action="" method="">
				<div class="text-center" style="font-size: 16px;margin-bottom: 45px;color: #666;">请输入手机号进行验证</div>
				<div class="layui-form-item">
					<div class="mb20">
						<input type="text" name="" required="" lay-verify="required" placeholder="输入手机号码" class="layui-input">
					</div>
					<div class="mb20" style="position: relative;">
						<input type="text" name="" lay-verify="required" placeholder="输入收到的验证码" class="layui-input">
						<span class="code">
							获取验证码
						</span>
					</div>
					<div class="mb20">
						<button class="layui-btn" type="submit">提交</button>
					</div>
				</div>
			</form>
		</div>
		
		
		
	
		<script type="text/javascript">
				var form = layui.form,
					layer = layui.layer,
					$ = layui.jquery,
					tool = layui.tool;
		
				form.render()
				var flag =true;
				$('.code').click(function(){
					if(flag){
						flag =false;
						tool.codeDown(this,10,function(){
							flag = true;
						});
					}
				})
				
				

		</script>
	</body>
</html>
